package com.hk.config;

import java.util.ArrayList;
import java.util.List;

public class Bean {
	/**
	 * <bean id="a" class ="/com.hk.entity.A" scope="singleton">
		<property name="name" value="hankun" scope="prototype"/>
		<property name="sex" value="男"/>
		</bean>
	 */
	private String id;
	private String className;
	private String scope = "singleton";
	private List<Property> properties = new ArrayList<>();
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getScope() {
		return scope;
	}
	public void setScope(String scope) {
		this.scope = scope;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public List<Property> getProperties() {
		return properties;
	}
	public void setProperties(List<Property> properties) {
		this.properties = properties;
	}
	
}
